package com.course.system.controller;

import com.course.server.domain.Test;
import com.course.server.service.AService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Classname AController
 * @Description TODO
 * @Date 2023-10-29 17:00
 * @Created by 贾悦栋
 */
@RestController
@RequestMapping("system")
public class AController {
    @Resource
    private AService aService;

    @GetMapping("test")
    public List<Test> test(){
        return aService.getList();
    }

}
